.support-article-dialog__base.dialog__backdrop {
	// Display above the guided tour.
	z-index: z-index( 'root', '.support-article-dialog__base.dialog__backdrop' );
}

.support-article-dialog.dialog.card {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	max-width: 100%;

	@include breakpoint-deprecated( '>660px' ) {
		top: 5%;
		bottom: 5%;
		left: 5%;
		right: 5%;
		width: 90%;
	}

	@include breakpoint-deprecated( '>960px' ) {
		left: 12.5%;
		right: 12.5%;
		width: 75%;
		width: 80vw;
	}
}

.support-article-dialog__story {
	padding: 0 20px 20px;

	.support-article-dialog__header-title {
		margin: 12px 0 0;
	}

	@include breakpoint-deprecated( '<480px' ) {
		font-size: $font-body;
		line-height: 24px;
	}

	@include breakpoint-deprecated( '<660px' ) {
		width: auto;
	}
}

.support-article-dialog__story-content {
	.toc-jump {
		display: none;
	}

	color: var( --color-neutral-70 );
	font-size: 17px;
	line-height: 28px;
}

.support-article-dialog__story-content img {
	margin-bottom: 12px;
}

.support-article-dialog__story-content figure img {
	margin-bottom: 0;
}

.support-article-dialog__header-title a {
	text-decoration: none;
	clear: none;
	color: var( --color-neutral-70 );
	font-family: $serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 26px;
	font-weight: 700;
	line-height: 34px;
	margin: 56px 0 0;
	max-width: 750px;

	@include breakpoint-deprecated( '>960px' ) {
		font-size: 36px;
		line-height: 46px;
	}

	@include breakpoint-deprecated( '480px-960px' ) {
		font-size: 32px;
		line-height: 40px;
	}

	@include breakpoint-deprecated( '<660px' ) {
		margin-top: 8px;
	}

	.support-article-dialog__header-title-link {
		display: block;
	}

	.support-article-dialog__header-title-link,
	.support-article-dialog__header-title-link:hover {
		text-decoration: underline;
		color: var( --color-neutral-70 );
	}
}

.support-article-dialog__header {
	margin-bottom: 23px;
}

.support-article-dialog .embed-youtube,
.support-article-dialog .embed-vimeo {
	display: block;
	margin-bottom: 25px;
	position: relative;
	padding: 25px 0 56.25%;
	// We currently have to use !important here to override the inline style on the Youtube embed
	// - see https://github.com/Automattic/wp-calypso/issues/9615
	text-align: initial !important;

	iframe {
		height: 100%;
		position: absolute;
		top: 0;
		width: 100%;
	}
}

.support-article-dialog .embed-vimeo {
	margin-bottom: 0;
}

// Placeholders
.support-article-dialog__header-title {
	&.is-placeholder {
		@include placeholder();
	}
}

.support-article-dialog__placeholder-text {
	@include placeholder();
	margin-bottom: 16px;
	min-height: 200px;
}
